<link href="<?php echo base_url()?>assets/css/icons/icol16.css" rel="stylesheet">
<div id="page-wrapper">

    <div class="container-fluid">

        <!-- Page Heading -->
        <div class="row">
            <div class="col-lg-12">
                <h1 class="page-header">
                    Halaman Kerja Marketing
                </h1>
                <ol class="breadcrumb">
                    <li>
                        <i class="fa fa-dashboard"></i>  <a href="<?php echo base_url(); ?>home">Dashboard</a>
                    </li>
                    <li class="active">
                        <i class="fa fa-edit"></i> Halaman Kerja Marketing
                    </li>
                </ol>
            </div>
        </div>
        <!-- /.row -->
    	<div class="col-lg-12">
            <h2>List Penugasan Saya</h2>
                <table class="table table-hover table-striped">
                    <thead>
                        <tr>
                            <th>No</th>
                            <th>Perusahaan</th>
                            <th>Waktu Penugasan</th>
                            <th>Catatan Manager</th>
                            <th>Action</th>
                        </tr>
                    </thead>
                    <tbody>
                            <?php $i = 1 ?>
                            <?php foreach($rows_penugasan_marketing as $row_pm): ?>
                                    <tr>
                                        <?php echo form_hidden('id_penugasan_marketing['.$i.']', $row_pm->id_penugasan_marketing);?>
                                        <td><?php echo $i ?></td>
                                        <td><a href="<?php echo base_url()?>modul/perusahaan/show/<?php echo $row_pm->id_perusahaan?>"><?php echo $row_pm->nama_perusahaan ?></a></td>
                                        <td><?php echo $row_pm->waktu_penugasan_marketing ?></td>
                                        <td><?php echo $row_pm->keterangan_penugasan_marketing ?></td>
                                        <td>
                                            <a href="<?php echo base_url()?>modul/marketing/edit/<?php echo $row_pm->id_penugasan_marketing?>" class='btn'><i class='icol-pencil'></i> Lakukan Marketing</a>
                                        </td>
                                    </tr>
                                <?php $i++; ?>
                            <?php endforeach ?>
                    </tbody>
                </table>
        </div>
    </div>
    <!-- /.row -->
</div>
<!-- /.container-fluid -->
